home *** CD-ROM | disk | FTP | other *** search
/ Team Palmtops 7 / Palmtops_numero07.iso / WinCE / SDKWindowsCE / HandHeldPCPro30 / sdk.exe / Jupiter SDK / data1.cab / ATL / include / wceatl.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-02-19  |  5.0 KB  |  114 lines

  1. // This is a part of the Active Template Library(Windows CE).
  2. // Copyright (C) 1996-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Active Template Library Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Active Template Library product.
  10.  
  11. #ifndef _WCEATL_H_
  12. #define _WCEATL_H_
  13.  
  14. #define _ATL_NO_UUIDOF
  15. #define _ATL_NO_DEBUG_CRT            // no Debug run-time support
  16. #define _ATL_NO_DOCHOSTUIHANDLER    // no DOC host
  17.  
  18. #define __RPCNDR_H_VERSION__    // actually we do not have an updated version of <rpcndr.h>
  19. #define MIDL_INTERFACE(x)   struct __declspec(uuid(x)) __declspec(novtable)        // missed definition from rpcndr.h
  20.  
  21. #if !defined(_ASSERTE)
  22.     #ifdef DEBUG
  23.         #define _ASSERTE(x)   if (!(x)) DebugBreak()
  24.     #else
  25.         #define _ASSERTE(x)
  26.     #endif // DEBUG
  27. #endif // ASSERTE
  28.  
  29. #define ZeroMemory(Destination,Length) memset((Destination),0,(Length))
  30.  
  31. // unsupported flags
  32. #define WS_MINIMIZE            0
  33. #define WS_OVERLAPPEDWINDOW 0    
  34. #define WS_EX_MDICHILD        0
  35. #define WS_EX_APPWINDOW        0
  36.  
  37. #undef RDW_INVALIDATE
  38. #define RDW_INVALIDATE        0
  39. #undef RDW_UPDATENOW
  40. #define RDW_UPDATENOW        0
  41. #undef RDW_ERASE
  42. #define    RDW_ERASE            0
  43. #undef RDW_INTERNALPAINT
  44. #define RDW_INTERNALPAINT    0
  45. #undef RDW_FRAME
  46. #define RDW_FRAME            0
  47.  
  48. //GUID declarations
  49. struct __declspec(uuid("00000000-0000-0000-C000-000000000046")) IUnknown;
  50. struct __declspec(uuid("00000001-0000-0000-C000-000000000046")) IClassFactory;
  51. struct __declspec(uuid("0000000c-0000-0000-C000-000000000046")) IStream;
  52. struct __declspec(uuid("00020400-0000-0000-C000-000000000046")) IDispatch;
  53. struct __declspec(uuid("00020401-0000-0000-C000-000000000046")) ITypeInfo;
  54. struct __declspec(uuid("00020402-0000-0000-C000-000000000046")) ITypeLib;
  55. struct __declspec(uuid("00020412-0000-0000-C000-000000000046")) ITypeInfo2;
  56.  
  57. struct __declspec(uuid("A6BC3AC0-DBAA-11CE-9DE3-00AA004BB851")) IProvideClassInfo2;
  58.  
  59. struct __declspec(uuid("B196B284-BAB4-101A-B69C-00AA00341D07")) IConnectionPointContainer;
  60. struct __declspec(uuid("B196B286-BAB4-101A-B69C-00AA00341D07")) IConnectionPoint;
  61. struct __declspec(uuid("B196B287-BAB4-101A-B69C-00AA00341D07")) IEnumConnections;
  62. struct __declspec(uuid("B196B288-BAB4-101A-B69C-00AA00341D07")) IOleControl;
  63. struct __declspec(uuid("B196B289-BAB4-101A-B69C-00AA00341D07")) IOleControlSite;
  64. struct __declspec(uuid("B196B28B-BAB4-101A-B69C-00AA00341D07")) ISpecifyPropertyPages;
  65.  
  66. struct __declspec(uuid("9BFBBC02-EFF1-101A-84ED-00AA00341D07")) IPropertyNotifySink;
  67.  
  68. struct __declspec(uuid("1C2056CC-5EF4-101B-8BC8-00AA003E3B29")) IOleInPlaceObjectWindowless;
  69.  
  70. struct __declspec(uuid("922EADA0-3424-11CF-B670-00AA004CD6D8")) IOleInPlaceSiteWindowless;
  71.  
  72. struct __declspec(uuid("3AF24292-0C96-11CE-A0CF-00AA00600AB8")) IViewObjectEx;
  73. struct __declspec(uuid("55980BA0-35AA-11CF-B671-00AA004CD6D8")) IPointerInactive;
  74.  
  75. struct __declspec(uuid("0000010C-0000-0000-C000-000000000046")) IPersist;
  76. struct __declspec(uuid("0000010e-0000-0000-C000-000000000046")) IDataObject;
  77. struct __declspec(uuid("0000010f-0000-0000-C000-000000000046")) IAdviseSink;
  78.  
  79. struct __declspec(uuid("00000109-0000-0000-C000-000000000046")) IPersistStream;
  80. struct __declspec(uuid("00000110-0000-0000-C000-000000000046")) IDataAdviseHolder;
  81. struct __declspec(uuid("00000111-0000-0000-C000-000000000046")) IOleAdviseHolder;
  82. struct __declspec(uuid("00000112-0000-0000-C000-000000000046")) IOleObject;
  83. struct __declspec(uuid("00000113-0000-0000-C000-000000000046")) IOleInPlaceObject;
  84. struct __declspec(uuid("00000114-0000-0000-C000-000000000046")) IOleWindow;
  85. struct __declspec(uuid("00000116-0000-0000-C000-000000000046")) IOleInPlaceFrame;
  86. struct __declspec(uuid("00000115-0000-0000-C000-000000000046")) IOleInPlaceUIWindow;
  87. struct __declspec(uuid("00000117-0000-0000-C000-000000000046")) IOleInPlaceActiveObject;
  88. struct __declspec(uuid("00000118-0000-0000-C000-000000000046")) IOleClientSite;
  89. struct __declspec(uuid("00000119-0000-0000-C000-000000000046")) IOleInPlaceSite;
  90. struct __declspec(uuid("0000011b-0000-0000-C000-000000000046")) IOleContainer;
  91.  
  92. struct __declspec(uuid("22F03340-547D-101B-8E65-08002B2BD119")) ICreateErrorInfo;
  93. struct __declspec(uuid("1CF2B120-547D-101B-8E65-08002B2BD119")) IErrorInfo;
  94.  
  95. struct __declspec(uuid("9C2CAD80-3424-11CF-B670-00AA004CD6D8")) IOleInPlaceSiteEx;
  96. struct __declspec(uuid("FC4801A3-2BA9-11CF-A229-00AA003D7352")) IObjectWithSite;
  97. struct __declspec(uuid("BEF6E003-A874-101A-8BBA-00AA00300CAB")) IFontDisp;
  98. struct __declspec(uuid("7FD52380-4E07-101B-AE2D-08002B2EC713")) IPersistStreamInit;
  99. struct __declspec(uuid("BEF6E002-A874-101A-8BBA-00AA00300CAB")) IFont;
  100.  
  101. #pragma warning(disable: 4615) // pragma warning(push) is unrecognized
  102.  
  103. #define GlobalAlloc LocalAlloc
  104. #define GMEM_FIXED LMEM_FIXED
  105. #define GHND       LMEM_FIXED | LMEM_ZEROINIT
  106. #define GlobalLock
  107. #define GlobalUnlock
  108. #define GlobalHandle (void*)
  109. #define GlobalFree LocalFree
  110. #define FreeResource(x)
  111. #define UnlockResource(x)
  112.  
  113. #endif // _WCEATL_H_
  114.